package com.cdut.drivingschool.ui.main;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;

import com.cdut.drivingschool.R;
import com.cdut.drivingschool.view.PushScrollView;
public class MyFragment extends BaseFragment {
	private View mView;
	private PushScrollView mScrollView;
	private ImageView mBgWall;
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		mView = inflater.inflate(R.layout.fragment_my, container,false);
		mScrollView = (PushScrollView) mView.findViewById(R.id.scroll_view);
		mBgWall = (ImageView) mView.findViewById(R.id.bg_wall);
		mScrollView.setHeaderView(mBgWall);
		return mView;
	}
	public static MyFragment newInstance(){
		return new MyFragment();
	}
}
